package com.ssy.lingxi.pay.api.dto.request.eAccount;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.PositiveOrZero;
import java.io.Serializable;

/**
 * 代付时源订单收款方信息
 *
 * @author jw.chen
 * @version 2.0.0
 * @date 2021/12/9
 */
@Data
public class ReceivePaymentRequest implements Serializable {
    private static final long serialVersionUID = 4656769552798740564L;

    /**
     * 相关代收交易的“商户订单号”
     */
    @NotBlank(message = "订单号不能为空")
    private String bizOrderNo;

    /**
     * 金额
     */
    @NotNull(message = "金额要大于等于0")
    @PositiveOrZero(message = "金额要大于等于0")
    private Double payMoney;

}
